package com.xdf.docmanagementsystem.vo;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;

/**
 * @program: doc-management-system
 * @description: Easyui树
 * @author: Zhang
 * @create: 2020-06-20 13:03
 **/
@Data
@Builder
public class TreeVo {
    private String id;
    private String text;
    private String iconCls;
    private String parentId;
    private Boolean checked;
    private List<TreeVo> children = new ArrayList<>();
    private LinkedHashMap<String, Object> attribute = new LinkedHashMap<>();

    @Tolerate
    public TreeVo() {
    }
}
